<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
</head>
<body>
<h3>新增用户</h3>
<hr/>
<form th:action="@{/emp/addZhiWu}" method="post">
    <input type="hidden" name="type" th:value="${type}"/><br/>
    部门名称：<input type="text" name="zname"/><br/>
    所属部门:<select name="did" >
    <option th:each="d : ${dList}" th:value="${d.did}" th:text="${d.dname}"></option>
    </select><br>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>